package com.ecommerce.dddmodules.infrastructure.db;

import com.ecommerce.dddmodules.infrastructure.db.entity.MySqlCustomerOrder;
import com.ecommerce.dddmodules.ordercontext.model.CustomerOrder;
import com.ecommerce.dddmodules.ordercontext.repository.CustomerOrderRepository;
import com.ecommerce.dddmodules.shippingcontext.model.ShippableOrder;
import com.ecommerce.dddmodules.shippingcontext.repository.ShippingOrderRepository;
import java.util.Optional;

public class MySqlOrderStore implements CustomerOrderRepository, ShippingOrderRepository {
	@Override
	public <E extends CustomerOrder> void saveCustomerOrder(E order) {
	}

	@Override
	public Optional<ShippableOrder> findShippableOrder(int orderId) {
		return Optional.empty();
	}

}
